package com.map.lbs;

import java.util.Date;
import java.util.List;

import com.baidu.mapapi.GeoPoint;
import com.baidu.mapapi.OverlayItem;

public class Message extends OverlayItem{

	private Long id;
	private String photo;
	private Date time;
	private String author;
	private String locationDesc;
	private List<Comment> comments;
	
	public Message(GeoPoint point, String title, String snip) {
		super(point, title, snip);
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getLocationDesc() {
		return locationDesc;
	}
	public void setLocationDesc(String locationDesc) {
		this.locationDesc = locationDesc;
	}
	public List<Comment> getComments() {
		return comments;
	}
	public void setComments(List<Comment> comments) {
		this.comments = comments;
	}
}
